<template>
  <div class="home">
    <div class="header">电商平台实时监控系统</div>
    <div class="container">
      <div class="left">
        <div class="chart01">
         <Chart01></Chart01>
        </div>
        <div class="chart02">
        <Chart04></Chart04>
        </div>
      </div>
      <div class="middle">
        <div class="chart01">
          <Chart02></Chart02>
        </div>
        <div class="chart02">
         <Chart05></Chart05>
        </div>
      </div>
      <div class="right">
        <div class="chart01">
         <Chart03></Chart03>
        </div>
        <div class="chart02">
         <Chart01></Chart01>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import Chart01 from '@/components/Chart01.vue';
import Chart02 from '@/components/Chart02.vue';
import Chart03 from '@/components/Chart03.vue';
import Chart04 from '@/components/Chart04.vue';
import Chart05 from '@/components/Chart05.vue';


export default {
  components: { Chart01,Chart02,Chart03,Chart04,Chart05 }
}
</script>

<style lang="scss" scoped>
.header{
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home {
 
  height: 100vh;
  background-color: #161522;

  .header {
    height: 64px;
    background-color: #000;
  }

  .container {
    height: calc(100% - 64px);
    display: flex;
    justify-content: space-evenly;


    >div {
      height: 100%;
    }



    .left,
    .right {
      width: 27%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .chart01 {
        height: 55%;
      }

      .chart02 {
        height: 42%;
      }
    }


      .middle {
        width: 40%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      

      .chart01{
        height: 60%;
      }
      .chart02{
        height: 37%;
      }
    }
  }
}

      .chart01,
      .chart02 {

        background-color: #222733;
        border-radius: 20px;

      }
 


</style>